
<!DOCTYPE html>
<html>
<head>
    <title> <sitemesh:write property='title'/></title>
    <sitemesh:write property='head'/>
</head>
<body>
<header>decorator 公共页头部</header>
<hr />
被装饰页的title将被填充到这儿：
<sitemesh:write property='title' /><br />
被装饰页的body将被填充到这儿：
<sitemesh:write property='body' />
<hr />
<footer>decorator 公共页 footer</footer>
</body>
</html>